var express = require('express');
var router = express.Router();
const dataCtrl=require('../controller/product.controller')
/* GET home page. */


router.post('/', dataCtrl.create);
router.put('/:id', dataCtrl.update);
router.get('/:id',dataCtrl.get);
router.delete('/:id',dataCtrl.remove);
router.post('/list',dataCtrl.list);
router.post('/removes',dataCtrl.removes);


module.exports = router;
